package com.gjy.check.annotation;

import com.gjy.check.enumtype.Check;

import java.lang.annotation.*;

/**
 * @author 宫静雨
 * @version 1.0
 * @since 2023-08-11 10:40:59
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
@Repeatable(DoChecks.class)
public @interface DoCheck {

    Check value() default Check.Email;

    String arg() default "";

    String msg() default "";
}
